package com.cmf.myproject.service.security.authc;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * Created by h.p on 2018/12/4.
 */
public class MallUsernamePasswordToken extends UsernamePasswordToken {

    private static final long serialVersionUID = -3466440451246428087L;
    private String captcha;
    private String loginType;

    public MallUsernamePasswordToken(String username, String password, boolean rememberMe, String host, String loginType, String captcha) {
        super(username, password, rememberMe, host);
        this.loginType = loginType;
        this.captcha = captcha;
    }

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }

    public String getLoginType() {
        return loginType;
    }

    public void setLoginType(String loginType) {
        this.loginType = loginType;
    }
}
